import request from "@/utils/request";

// 查询【请填写功能名称】列表
export function listTi(query) {
  return request({
    url: "/system/ti/list",
    method: "get",
    params: query,
  });
}

export function listSlmx(query) {
  return request({
    url: "/system/ti/listSlmx",
    method: "get",
    params: query,
  });
}


export function withdrawal() {
  return request({
    url: "/system/ti/withdrawal",
    method: "get",
  });
}

// 查询【请填写功能名称】详细
export function getTi(tiId) {
  return request({
    url: "/system/ti/" + tiId,
    method: "get",
  });
}

// 新增【请填写功能名称】
export function addTi(data) {
  return request({
    url: "/system/ti",
    method: "post",
  });
}

// 修改【请填写功能名称】
export function updateTi(data) {
  return request({
    url: "/system/ti",
    method: "put",
    data: data,
  });
}

// 删除【请填写功能名称】
export function delTi(tiId) {
  return request({
    url: "/system/ti/" + tiId,
    method: "delete",
  });
}
